package me.lc.hammerheads.sprite.dwarfUnit;

import com.wiyun.engine.nodes.Sprite;

import me.lc.hammerheads.core.GameSystem;
import me.lc.hammerheads.sprite.Dwarf;
import me.lc.hammerheads.util.AudioHelper;

public class DwarfLuckDuck extends Dwarf {

	@Override
	protected void createDwart() {
		dwarf = Sprite.make(GameSystem.tex_luckDuck);
	}

	@Override
	public int knock(int power) {
		knockOut();
		AudioHelper.duck();
		return 1;
	}

	@Override
	protected int getLifeTime() {
		return 3;
	}

	@Override
	protected int getLifeCount() {
		return 0;
	}

	@Override
	protected float getDwarfX() {
		return 0;
	}

	@Override
	protected void doDwarfAction() {

	}

	@Override
	protected float getDwarfWidth() {
		return GameSystem.tex_luckDuck.getWidth();
	}

	@Override
	protected void drillhideOverProcess() {
		// do nothing
	}

	@Override
	protected int getKnockoutScore() {
		return 1000;
	}

	@Override
	protected void finishDwarf() {
		// 不算矮人，不统计, do nothing
	}

}
